package com.zx.dao.user;

import com.zx.dto.request.user.ReceivingDtoRequest;
import com.zx.dto.response.user.ReceivingDtoResult;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sunkai
 * @date 2022/8/17 0017 16:46
 * @mood zhou xun
 */
public interface ReceivingMapper {

    List<ReceivingDtoResult> queryAddress(@Param("receiving") ReceivingDtoRequest receivingDtoRequest);

    int addAddress(@Param("receiving") ReceivingDtoRequest receivingDtoRequest);

    int updateAddress(@Param("receiving") ReceivingDtoRequest receivingDtoRequest);

    int deleteAddress(@Param("receiving") ReceivingDtoRequest receivingDtoRequest);
}
